<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <title>童星</title>
</head>
<body> 
  <script type="text/javascript" src="js/mui.min.js"></script>
  <script type="text/javascript" src="js/jquery.min.js"></script>
  <script type="text/javascript" src="js/jquery.ba-bbq.min.js"></script>
  <script type="text/javascript" src="js/template.js"></script>
  <script type="text/javascript" src="js/jweixin-1.0.0.js" ></script>
  <script type="text/javascript" src="js/app.js"></script>
  <script type="text/javascript">
  (function (mui, $) {
  mui.plusReady(function () {
    app.auth({
      error: function (res) {
        app.userInfo({
          success: function (userinfo) {
            var data = {
              'source_type': 'weixin',
              'open_id': userinfo.openid,
              'tag': { nickname: userinfo.nickname, headimgurl: userinfo.headimgurl }
            };
            app.open('member.register.oauth.html', data);
          }
        });
      },
      success: function () {
        app.open('home.html');
      }
    });
  });

  })(mui, $);
  </script>
</body>
</html>